import { myAjax } from '../utils/request';

export const getLoginInfo = (param) => {
  const url = 'wxapi/common/wxlogin';
  return myAjax(url, param);
};


export const getUserPhone = (param) => {
  const url = 'wxapi/common/wxGetMobile';
  return myAjax(url, param, { method: 'post' });
};

export default {
  getLoginInfo,
  getUserPhone,
};
